package com.elitecrm.saas.service;

public class EliteSAASException extends Exception {
	private static final long serialVersionUID = -6387969340605447273L;
	
	public static final Integer LOGIN_FAILED = 1000;
	public static final Integer NO_UUID_FOUND = 1001;
	public static final Integer INVAILD_UUID = 1002;
	public static final Integer INVAILD_ACTION = 1003;
	public static final Integer INVAILD_MODULE = 1004;
	public static final Integer NO_LOGPARA_FOUND = 1005;
	public static final Integer INVAILD_PARAMETER = 1006;
	public static final Integer INTERNAL_ERROR = 9999;
	
	private Integer errorCode;
	public Integer getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(Integer errorCode) {
		this.errorCode = errorCode;
	}
	public EliteSAASException(Integer errorCode) {
		super();
		this.errorCode = errorCode;
	}
	public EliteSAASException(Integer errorCode, String message) {
		super(message);
		this.errorCode = errorCode;
	}
	
}
